<template>
    <p>这时About页</p>
    <p>{{ id }}</p>
    <p>{{ name }}</p>
    <p>{{ $route }}</p>

</template>

<script>
export default {
    data(){
        return {
            id:0,
            name:''
        }
    },
    mounted() {  //加载完之后
        console.log("this.$route,this.$route");
        // console.log(history.state);
        // this.id = history.state.params.id
        // this.name = history.state.params.name


    }
}
</script>